﻿
namespace ZR.Model.Models.ProductionControl {
    /// <summary>
    /// 批次追溯
    /// </summary>
    [SugarTable("cks_batch_code_data")]
    [Table(Name = "cks_batch_code_data")]
    public class CksBatchCodeData : BaseEntity {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// PLCID 
        /// </summary>
        public int PlcId { get; set; }

        /// <summary>
        /// 数据块 
        /// </summary>
        public int DbBlock { get; set; }

        /// <summary>
        /// 产品批次码 
        /// </summary>
        public string BatchCode { get; set; }

        /// <summary>
        /// 产品类型 
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 是否禁用 
        /// </summary>
        public bool Nullity { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyTime { get; set; }

    }

}